#ifndef STUSEQLIST_H
#define STUSEQLIST_H
#include "Stuent.h"
const intinitSie=100;
const int increment=20;
class StuSeqList
{
    public:
        StuSeqList(int sz=initSize);
        StuSeqList(StuSeqList &L);
        virtual ~StuSeqList();
        voidcreateList();
        it size()const;
        int length()const;
        int search (Student& stud)const;
        it locate(int i)const;
        bool getData(int i,Student& stud)const;
        bool setData(int i,Student& stud)
        bool insert(int i,Student& stud)
        bool remove(int i,Student& stud)
        bool isEmpty();
        bool isFull();void traverseList();
        StuSeqList operator=(StuSeqList &L);
        void readFromFile(char*FileName);
        void writeToFile(char* FileName);
    private:
        Student*data;
        int listSize;
        int length;
        void resize(int newSize);
};
#endif // STUSEQLIST_H
